package com.lovo.pis.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_sell_order")
@Builder
public class SellOrderBean {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    //客户名称
    private String customName;
    //销售员
    private String seller;
    //销售时间
    private String createTime;
    //订单总额
    private double totalPrice;
    //送货地址
    private String address;
    @TableField(exist=false)
    private List<SellGoodsBean> sellGoodsList;
}
